<?php namespace auth;
/**
 * 认证模块
 */

interface Guard {

    function __construct($guard_config=array());

    function checkRequestParam();

    function returnAuthResult($request);

    function makeIdentityToken();

    function setPermissionsByGate($token);
}